package com.songcha.sakura.download

import com.songcha.sakura.download.base.DownloadTask

interface IDownloaderListener {
    fun onInitialize(task:DownloadTask)
    fun onStart(task:DownloadTask)
    fun onUpdate(task: DownloadTask)
    fun onCompleted(task:DownloadTask)
    fun onPause(task:DownloadTask)
    fun onError(task:DownloadTask,e:Exception)
    fun onCancel(task: DownloadTask)
}